package com.es.service;

import com.es.entity.ICBCAccount;

import java.math.BigDecimal;

public interface ICBCAccountService {
    /**
     * 开户
     * @param icbcAccount
     * @return
     */
    int createAccount(ICBCAccount icbcAccount);

    /**
     * 存款
     * @param cardNo
     * @param mount
     * @return
     */

    int withdraw(String cardNo, BigDecimal mount);

    /**
     * 取款
     * @param cardNo
     * @param mount
     * @return
     */

    int deposit(String cardNo, BigDecimal mount);

}
